package com.corpgovernment.travelstandard.entity.db;

import com.corpgovernment.common.annotation.OperateLogFieldDesc;
import com.corpgovernment.common.entity.db.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import javax.persistence.Column;
import javax.persistence.Table;

@Alias("mbTravelStandCarCrossCity")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "mb_travelstand_car_cross_city")
public class MbTravelStandCarCrossCity extends BaseEntity {
    /**
     * 差标id
     **/
    @OperateLogFieldDesc(value = "差标id")
    @Column(name = "ts_id")
    private Long tsid;

    @OperateLogFieldDesc(value = "左城市名")
    @Column(name = "left_city_name")
    private String leftCityName;


    @OperateLogFieldDesc(value = "左城市编码")
    @Column(name = "left_city_code")
    private String leftCityCode;

    @OperateLogFieldDesc(value = "右城市名")
    @Column(name = "right_city_name")
    private String rightCityName;

    @OperateLogFieldDesc(value = "右城市编码")
    @Column(name = "right_city_code")
    private String rightCityCode;

    @OperateLogFieldDesc(value = "管控方式")
    @Column(name = "control_type")
    private Byte controlType;

    @OperateLogFieldDesc(value = "产线类型")
    @Column(name = "ts_type")
    private String tsType;
}
